<!DOCTYPE html>
<html>
<head>
	<title>{$pageData.title}</title>
	<script type="text/javascript" src="__STATIC__/common/js/jquery.min.js"></script>
</head>
<body>
{include file="inc/menu" /}
<div id="listbox">
	<table></table>
</div>

<script type="text/javascript">
var currentPage = {$page};
getData(currentPage);
// 获取列表
function getData(page){
	$.ajax({
		'type':'post',
		'dataType':'json',
		'url':"{:url('member.query/agents')}",
		'data':'{$whereStr}',
		'success':function(data){
			$.each(data.data,function(index,value){
				$("#listbox table").append('<tr class="row"><td>'+value.mname+'</td><td></td></tr>');
			});
		}
	});
}

function detail(mid){
	$.ajax({
		'type':'post',
		'dataType':'json',
		'url':"{:url('member.query/row')}",
		'data':'mid='+mid,
		'success':function(data){
			
		}
	});
}
</script>
</body>
</html>